//
//  RBHistoryResponse.m
//  zhongzhenglu
//
//  Created by mac on 2022/11/14.
//

#import "RBHistoryResponse.h"
#import <NSDate+YYAdd.h>

@implementation RBHistoryModel

- (NSString *)dateStr
{
    if(!_dateStr)
    {
        self.dateStr = [[NSDate dateWithTimeIntervalSince1970:self.create_time] stringWithFormat:@"MM月dd日"];
    }
    return _dateStr;
}

@end

@implementation RBHistoryResponse

+ (NSDictionary *)rbRenameKeyDic
{
    return @{
        @"data":@"data.data"
    };
}

+ (NSDictionary *)rbAssignClassDic
{
    return @{
        @"data":RBHistoryModel.class
    };
}

@end
